import request from '@/utils/request'

// 显示换单需求
export function MrpInfo(data) {
  return request({
    url: '/tPlnPlanorder/queryMoSplitOrder',
    method: 'post',
    data
  })
}
// MRP转单生产和委外
export function InsertMO(data) {
  return request({
    url: '/tPlnPlanorder/insertMrp',
    method: 'post',
    data
  })
}
// 显示采购转单需求
export function MrpCGInfor(params) {
  return request({
    url: '/tSalOrder/MrpCGInfo',
    method: 'get',
    params
  })
}
// 转至生产
export function insertMrpPoInfo(data) {
  return request({
    url: '/hangong/MRP/insertMrpPoInfo',
    method: 'post',
    data
  })
}
